using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace FishFillets.Model
{
    public class StringsCollection
    {
        public string Name { get; set; }
        public string[] Cultures { get; set; }
        public List<StringLine> Lines { get; set; }

        public string GetString(string key, string culture)
        {
            return Lines.FirstOrDefault(s => s.Key.Equals(key)).Values[culture];
        }
    }
}
